
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();

var french_option = {
	
    monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
    monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Juin','Jui','Août','Sep','Oct','Nov','Déc'],
    dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
    dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
  
    // time formats
    titleFormat: {
        month: 'MMMM yyyy',
        week : "d[yyyy]{ '&ndash;'[MMM] d MMM'.' yyyy}", // 5  11 déc. 2011
        day: 'dddd d MMM. yyyy'
    },
  
    columnFormat: {
        month: 'ddd',
        week: 'ddd d/M',
        day: 'dddd d/M'
    },
  
  
    timeFormat: { // for event elements
        '': 'HH:mm',
        agenda: 'HH:mm{ - HH:mm}'
    },

    allDayText: 'semaine',
    axisFormat: 'HH:mm',
  
    buttonText: {
        prev: '&nbsp;&#9668;&nbsp;',
        next: '&nbsp;&#9658;&nbsp;',
        prevYear: '&nbsp;&lt;&lt;&nbsp;',
        nextYear: '&nbsp;&gt;&gt;&nbsp;',
        today: 'aujourd\'hui',
        month: 'mois',
        week: 'semaine',
        day: 'jour'
    }  
};

var owner_options = {
  
    header: {
        left: 'prev,next today',
        center: 'title',
        right: 'month,agendaWeek,agendaDay'
    },
    firstDay: 1,
    selectable: true,
    selectHelper: true,
    select: function(start, end, allDay) {
        var title = prompt('Event Title:');
        if (title) {
            $('#calendar').fullCalendar('renderEvent',
            {
                title: title,
                start: start,
                end: end,
                allDay: allDay
            },
            true // make the event "stick"
            );
        }
        $('#calendar').fullCalendar('unselect');
    },
    editable: true
};


